import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description: 订单实现类
 * @Author: zll
 * @Date: 2020/11/1 20:17
 */
@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private UserService userService;

    @Override
    public void createOrder() {
        String user = userService.getUser("其实是白羊");
        System.out.println(user);
    }
}
